<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/modules/checkA.php");
include_once("../../../../config.php");
include_once("../controller/detail-info.php");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="../css/<? echo $theme_folder ?>/user.css" rel="stylesheet" type="text/css"/>
    <?php include ROOT_PATH_.'/controller/common/modules/head.php'; ?>
    <?php include 'modules/head.php'; ?>
</head>


<body>

<div id="topbar">
    <?php include ROOT_PATH_.'/controller/common/modules/topbar.php'; ?>
</div>

<div id="container" class="<? echo $system_part ?>">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/modules/sidebar.php'; ?>
        </div>


<div id="content" class="layui-form">

	<h1> 活动 "<?php echo $info['theme']?>" 报名列表 </h1>
    






<!-- 用$system_part .list_boxes来控制来到确认板块信息显示-->
<div class="list-box">

<div class="list-boxes">



<?php

if (count($members) == 0) {
    echo "数据添加中";
}

?>




<table class="layui-table">
  <colgroup>
    <col width="60">
    <col width="260">
	<col width="260">
	<col width="300">
    <col>
    <col>
  </colgroup>
  <thead>
    <tr>
      <th>序号</th>
      <th>报名人名字</th>
      <th>报名人号码</th>
      <th>报名时间</th>
      <th>状态</th>
      <th>操作</th>
    </tr>
  </thead>
  <tbody>


	<?php
	
	foreach($members as $k =>$v)  {
    ?>
    <tr id="item<?echo $detail[$i]['nid']?>" >
      <td><? echo $i+1+$plate['page_list_num']*($nowpageid-1) ?></td>
      <td><? echo $v['name']?></td>
      <td><? echo $detail[$i]['phone']?></td>
      <td><? echo $detail[$i]['date'] ==  '0' ? '' : date("Y-m-d",$detail[$i]['date'])?></td>
     
	  <td><? 
	  		if($detail[$i]['status'] == 1){
		  	   echo '通过';
			}
			elseif($detail[$i]['status'] == 2){
			   echo '未通过';
			}
			elseif($detail[$i]['status'] == 0){
			   echo '待审核';
			}
			 ?>
      </td>
	  <td>
      	 <a href="detail-edit-register.php?nav-itemed=activity&activity_id=<?php echo $info['id'];?>&nid=<? echo $detail[$i]['nid']?>&nowpageid=<?echo $nowpageid?>" class="layui-btn layui-btn-primary layui-btn-small" >
            <i class="layui-icon">&#xe642;</i>
          </a>

      </td>
    </tr>
  <?php

}
?>


  </tbody>
</table>






</div>



    <div class="list-box-function"
        <? if ($detailnum == 0) {
            echo "style" . "='display:none'";
        } ?>
        >

        <?php include 'page_numbers_register.php'; ?>

    </div>
</div>


<!--list-box end-->
</div>

<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>







<!--删除box-->
<?php include '../module/deletebar.php'; ?>
<!--删除box end-->

<?php include ROOT_PATH_ . "/controller/common/modules/footer.php"; ?> </body>
</html>
